import request from '@/utils/request'

// 查询交接信息明细列表
export function listHandoverDtl(query) {
  return request({
    url: '/wms/handoverDtl/list',
    method: 'get',
    params: query
  })
}

// 初始化
export function initBean() {
    return request({
        url: '/wms/handoverDtl/initBean',
        method: 'post'
    })
}

// 查询交接信息明细详细
export function getHandoverDtl(id) {
  return request({
    url: '/wms/handoverDtl/' + id,
    method: 'get'
  })
}

// 新增交接信息明细
export function addHandoverDtl(data) {
  return request({
    url: '/wms/handoverDtl',
    method: 'post',
    data: data
  })
}

// 修改交接信息明细
export function updateHandoverDtl(data) {
  return request({
    url: '/wms/handoverDtl',
    method: 'put',
    data: data
  })
}

// 删除交接信息明细
export function delHandoverDtl(id) {
  return request({
    url: '/wms/handoverDtl/' + id,
    method: 'delete'
  })
}
